package com.weaver.drools.business.execution.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.weaver.drools.business.execution.service.IEAqInsInquiryrecord162Service;
import com.weaver.drools.common.dao.EAqInsInquiryrecord162Dao;
import com.weaver.drools.common.entity.EAqInsInquiryrecord162;
@Service
public class EAqInsInquiryrecord162ServiceImpl implements IEAqInsInquiryrecord162Service {

	@Autowired
	private EAqInsInquiryrecord162Dao insInquiryrecord162Dao;
	@Override
	public EAqInsInquiryrecord162 findById(Long pnlinquiryrecordid) {
		// TODO Auto-generated method stub
		return insInquiryrecord162Dao.findEAqInsInquiryrecord162ByPnlinquiryrecordid(pnlinquiryrecordid);
	}

	@Override
	public void saveEAqInsInquiryrecord162(EAqInsInquiryrecord162 inquiryrecord162) {
		insInquiryrecord162Dao.saveOrUpdate(inquiryrecord162);
	}

	@Override
	public void updateEAqInsInquiryrecord162(EAqInsInquiryrecord162 inquiryrecord162) {
		insInquiryrecord162Dao.saveOrUpdate(inquiryrecord162);
	}

	@Override
	public void deleteById(Long pnlinquiryrecordid) {
		insInquiryrecord162Dao.deleteById(pnlinquiryrecordid);
	}

}
